﻿@{
    ViewBag.Title = "交易明细列表";
}
@using MMS.UI.Extension
@section headSection{
    <script type="text/javascript">
        $(function () {
            $.globalHelper.datagridPara.init("/admin/TradeInfo/SaleItemlist/@ViewBag.TId", [@Html.GetSonBtnJs()], [[
              {
                  field: 'MemberInfo', title: '会员名称', width: 50, formatter: function (colData) {
                      return colData.MName;
                  }
              },
                {
                    field: 'GoodsInfo', title: '会员消费商品名称', width: 50, formatter: function (colData) {
                        return colData.GName;
                    }
                },
                { field: 'SIOriginalPay', title: '会员应付金额', width: 50 },
                  { field: 'SIActualPay', title: '会员实付金额', width: 50 },
                  {
                      field: 'SITime', title: '会员消费时间', width: 50, formatter: function (colData) {
                          return $.globalHelper.changeDateFormat(colData);
                      }
                  }
            ]]);
            $("#tbList").datagrid($.globalHelper.datagridPara.paras);

            //初始化小窗体
            $("#smallWindow").window({
                iconCls: 'icon-tip',
                modal: true,
                minimizable: false,
                resizable: false,
                width: 500,
                height: 400,
                closed: true,
                title: '小窗体'
            }).window("center");
        });
       
        
    </script>
}
<table id="tbList"></table>
<div id="smallWindow"></div>